import React from "react";
import { BrowserRouter, useRoutes } from "react-router-dom";
import routes from "./router/index";
function App() {
  const Ele = () => useRoutes(routes);
  return (
    <div>
      <BrowserRouter>
        <Ele></Ele>
      </BrowserRouter>
    </div>
  );
}

export default App;
